package myschool.myshchool15.mystudent;

import java.util.Scanner;

public class IfElseTow {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);

        System.out.print("请输入名词：");
        int ranking = input.nextInt();
        //if-slse if
        if (ranking == 1){
            System.out.println("参加夏令营");
        }
        else if (ranking == 2){
            System.out.println("奖励笔记本一台");
        }
        else if (ranking == 3){
            System.out.println("奖励移动硬盘一个");
        }
        else {
            System.out.println("没有奖励");
        }

    }

}